<%@ page trimDirectiveWhitespaces="true"%><%@
 page session="false" import="java.text.SimpleDateFormat,java.util.Date"%>
<%@page buffer="none" session="false" import="org.opencms.frontend.templatetwo.*"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%
	CmsTemplateLayout cms = new CmsTemplateLayout(pageContext, request, response);
	pageContext.setAttribute("cms", cms);
	String requesturl = request.getAttribute("javax.servlet.forward.request_uri").toString();
	if (requesturl.indexOf("logicHandler") != -1) {
		response.sendRedirect("/index.html?state=notfound");
	}
%>
<cms:template element="head">
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=${cms.requestContext.encoding}">
<meta name="keywords" content="<cms:property name="Keywords" file="search" />">
<meta name="description" content="<cms:property name="Description" file="search" />">
<title><cms:property name="Title" file="search" /></title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>

<LINK href="/resource/css/smoothmenu.css" type=text/css rel=stylesheet>
<SCRIPT src="/resource/js/jquery-1.3.2.min.js" type=text/javascript></SCRIPT>
<SCRIPT src="/resource/js/smoothmenu.js" type=text/javascript></SCRIPT>
<link rel="Shortcut Icon" href="/favicon.ico">
<link href="<cms:link>/resource/css/css.css</cms:link>" rel="stylesheet" type="text/css" />
<link href="/resource/css/mobilyslider.css" rel="stylesheet" type="text/css" />
<script src="/resource/js/mobilyslider.js" type="text/javascript"></script>
<script src="/resource/js/mobilysliderinit.js" type="text/javascript"></script>
</head>

<body>
	<%@ include file="/top5.jsp"%>
<table width="930" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="10"></td>
  </tr>
</table>

<table width="930" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="100%" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td bgcolor="#fff"><table width="100%" border="0" cellspacing="1" cellpadding="0">
          <tr style="background-color:#fff;">
            <td align="center" valign="top" bgcolor="#FFFFFF" 
									style="border-right:1px solid #ccc;border-left:1px solid #ccc;border-top:1px solid #ccc;border-bottom:1px solid #ccc"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="30" class="css">&nbsp;</td>
              </tr>
            </table>
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="110" height="29" background="/resource/images6/bj02s.jpg" class="css"><span class="css3">&nbsp;&nbsp;</span><span class="css3_3">　　新闻中心</span></td>
                        <td class="css">&nbsp;</td>
                      </tr>
                    </table>
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td height="20" class="css"><span class="css3">&nbsp;</span></td>
                      </tr>
                    </table>
                    
<c:set var="count">1</c:set>
<cms:contentload collector="allInSubTreePriorityDateDesc" param="/news/.html|pynews" preload="true">
	<cms:contentload pageSize="10" pageIndex='11' editable="true">
		<cms:contentinfo var="contentInfo" scope="request" />
	</cms:contentload>
	<c:set var="count">${contentInfo.pageNavEndIndex}</c:set>
	<c:out value="${count}"/>
</cms:contentload>
										 <c:set var="p">
											<cms:property name="pageIndex" file="search" />
										</c:set> <cms:contentload collector="allInSubTreePriorityDateDesc" param="/news/.html|pynews|200" preload="true">
											<cms:contentload pageSize="10" pageIndex='<%=(String) pageContext.getAttribute("p")%>' editable="true">
												<cms:contentinfo var="contentInfo" scope="request" />

												<c:set var='Link'>
													<cms:contentshow element="Link" />
												</c:set>
												<c:choose>
													<c:when test="${Link=='??? Link ???'||Link==''}">
														<c:set var='Link'>
															<cms:link>
																<cms:contentshow element="%(opencms.filename)" />
															</cms:link>
														</c:set>
													</c:when>
												</c:choose>

	                    <table width="90%" height="30" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td width="2%" align="left" valign="middle" class="css4"><img src="/resource/images6/t02.jpg" width="9" height="10" /></td>
                        <td width="86%" align="left" valign="middle" class="css4"><a href='<c:out value="${pageScope.Link}"/>'
                         target="_blank" class="k3" style="color: #000"><cms:contentshow element="Title" /></a></td>
                         
														<c:set var="Date">
															<cms:contentshow element='Date' />
														</c:set>
														<%
															Date cDate = new Date(Long.parseLong(pageContext.getAttribute("Date").toString()));
																		System.out.println(cDate);
														%>
                        <td width="12%" align="right" valign="middle" class="css6">[<fmt:formatDate value="<%=cDate%>" pattern="yyyy-MM-dd" />] </td>
                      </tr>
                    </table>
              <table width="80%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td height="20"><img src="/resource/images6/news1.jpg" width="638" height="10" /></td>
                      </tr>
                  </table>

											</cms:contentload>
											
              <table width="90%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td height="20" align="right" valign="middle" class="css4">&nbsp;<a href='<cms:link>/pages/news_1.html</cms:link>' class="k4"
                        >首页 &nbsp;</span></a>当前第${contentInfo.pageIndex}页
                        
														<c:if test="${contentInfo.pageIndex>1}">
														<a href='<cms:link>/pages/news_${contentInfo.pageIndex-1}.html</cms:link>' class="k4" >上一页</a> 
														</c:if> 
														
														
														<c:forEach var="i" begin="1" end="${count}">
															<c:choose>
																<c:when test="${contentInfo.pageIndex==i}">
																 <a class="k4" href="#" > &nbsp;${i}</a>
																</c:when>
																<c:otherwise>
																<a href="<cms:link>/pages/news_${i}.html</cms:link>" class="k4" >${i}</a>
																</c:otherwise>
															</c:choose>
														</c:forEach>
														<c:if test="${contentInfo.pageIndex < contentInfo.pageCount}">
														 <a href='<cms:link>/pages/news_${contentInfo.pageIndex+1}.html</cms:link>' class="k4" >下一页</a>
														</c:if>
                                             <span class="k4">共${count}页</span></span> &nbsp;<a 
                                             href='<cms:link>/pages/news_${count}.html</cms:link>' class="k4" >末页</a> </td>
                      </tr>
                  </table>
              <table width="80%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td height="5"></td>
                      </tr>
                  </table>
										</cms:contentload>
			  </td>
            <td width="5"></td>
            <td width="260" align="left" valign="top" style="border-right:1px solid #ccc;border-left:1px solid #ccc;border-top:1px solid #ccc;border-bottom:1px solid #ccc"><table width="260" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td bgcolor="#BFBFBF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td><table width="100%" height="25" border="0" cellpadding="3" cellspacing="0">
                      <tr>
                        <td background="/resource/images6/bj02as.jpg" bgcolor="#A5A5A5" class="ztcss"> <span class="css7_Copy">&nbsp;</span><span class="css3_3">最近文章</span></td>
                      </tr>
                    </table>
                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                  <tr>
                                    <td align="left" valign="top" bgcolor="#FFFFFF"><table width="260" border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                          <td height="10" align="left" valign="top" class="css4"></td>
                                        </tr>
                                      </table>
                                      
                                      
                                      
                                      <cms:contentload collector="allInSubTreePriorityDateDesc" param="/news/.html|pynews|10" preload="true">
											<cms:contentload pageSize="10" pageIndex='1' editable="true">
												<cms:contentinfo var="contentInfo" scope="request" />

												<c:set var='Link'>
													<cms:contentshow element="Link" />
												</c:set>
												<c:choose>
													<c:when test="${Link=='??? Link ???'||Link==''}">
														<c:set var='Link'>
															<cms:link>
																<cms:contentshow element="%(opencms.filename)" />
															</cms:link>
														</c:set>
													</c:when>
												</c:choose>
												
												
													<c:set var="Date">
															<cms:contentshow element='Date' />
														</c:set><c:set var="title">
															<cms:contentshow element='Title' />
														</c:set>
														<%
															Date cDate = new Date(Long.parseLong(pageContext.getAttribute("Date").toString()));
																		System.out.println(cDate);
														%>
                                        <table width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
                                          <tr>
                                            <td width="6%" height="25" align="center" valign="middle"><img src="/resource/images6/t02_0.jpg" width="9" height="10" /></td>
                                            	<c:if test="${fn:length(title)>10}">
									<td width="62%" height="25" title="${title}"><a href="${pageScope.Link}" class="k3" target="_top" 
									style="color:#000"><c:out
											value='${fn:substring(title,0,10)}' />.....</a></td>
											
								</c:if>
								<c:if test="${fn:length(title)<=10}">
                                            <td width="62%" height="25"><a href="${pageScope.Link}" class="k3" target="_top" style="color:#000"><cms:contentshow element="Title" /></a></td>
								</c:if>
                                            
                                            <td width="32%" height="25" align="right" valign="middle"><span class="k4 css4"><fmt:formatDate value="<%=cDate%>" pattern="yyyy-MM-dd" />&nbsp;</span></td>
                                            
                                          </tr>
                                           <tr>
                                            <td width="6%" height="5" align="right" valign="middle"></td>
                                            <td width="62%" height="5" align="right" valign="middle"></td>
                                            <td width="32%" height="5" align="right" valign="middle"></td>
                                          </tr>
                                        </table>
											</cms:contentload>
										</cms:contentload>
                                      
                                      </td>
                                  </tr>
                              </table></td>
                  </tr>
                </table></td>
              </tr>
            </table>
                    <table width="260" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td height="10" align="left" valign="top" class="css4"></td>
                      </tr>
                    </table>
              <table width="260" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td bgcolor="#BFBFBF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td><table width="100%" height="25" border="0" cellpadding="3" cellspacing="0">
                                  <tr>
                                    <td background="/resource/images6/bj02as.jpg" bgcolor="#A5A5A5" class="ztcss"> <span class="css7_Copy">&nbsp;</span><span class="css3_3">档 案</span></td>
                                  </tr>
                                </table>
                                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                      <td align="left" valign="top" bgcolor="#FFFFFF"><table width="260" border="0" cellspacing="0" cellpadding="0">
                                          <tr>
                                            <td height="10" align="left" valign="top" class="css4"></td>
                                          </tr>
                                        </table>
                                        
                                        
                                        
                                        <cms:contentload collector="allInFolderPriorityDateDesc" param="/news/index/.html|pynewsindexbymonth|5" preload="true">
																				<cms:contentload pageSize="5" pageIndex='1' editable="true">
																					<cms:contentinfo var="contentInfo" scope="request" />		
                                          <table width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
                                            <tr>
                                              <td width="8%" align="center" valign="middle"><img src="/resource/images6/t02_0.jpg" width="9" height="10" /></td>
                                              <td width="92%"><a href='<cms:link><cms:contentshow element="%(opencms.filename)" /></cms:link>' class="k3" target="_top" style="color:#000"><cms:contentshow element="Title" /></a></td>
                                            </tr>
                                        </table>
																				</cms:contentload>
																			</cms:contentload>
                                        
                                        </td>
                                    </tr>
                                </table></td>
                            </tr>
                        </table></td>
                      </tr>
                  </table></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="930" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="20"></td>
  </tr>
</table>
	<table width="930" border="0" align="center" cellpadding="0" cellspacing="0">
	  <tr>
          <td height="10" align="left" valign="top"></td>
        </tr>
        <tr>
          <td height="30" align="left" valign="top"><iframe id="baiduSpFrame" border="0" vspace="0" hspace="0" 
          marginwidth="0" marginheight="0" framespacing="0" frameborder="0" scrolling="no" width="930" height="30" 
          src="/resource/down1.html"></iframe> </td>
        </tr>
      </table>
	<%@ include file="/resource/all_include.html"%>
</body>
	</html>
</cms:template>